package com.icehand.common.enums;

import lombok.Getter;

/**
 * @author icehand
 */
@Getter
public enum PayNotifyResultEnum {
    /**
     * 支付宝回调
     */
    ALIPAY("success","fail"),
    WECHAT("<xml><return_code><![CDATA[SUCCESS]]></return_code>" +
            "<return_msg><![CDATA[OK]]></return_msg></xml>","<xml><return_code><![CDATA[FAIL]]></return_code>" +
            "<return_msg><![CDATA[报文为空]]></return_msg></xml>"),
    UNION("ok","fail"),
    ;
    private String success;
    private String fail;

    PayNotifyResultEnum(String success, String fail){
        this.success = success;
        this.fail = fail;
    }
}
